package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_unionwar_activity_dispatch", desc = "群英争霸_派遣", autoSave = true, uploadCk = true)
public class LogUnionWarActivityDispatch extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "商会id")
    private String unionUId;

    @FieldTypeAnnotation(desc = "商会等级")
    private int unionLv;

    @FieldTypeAnnotation(desc = "位置")
    private int position;

    @FieldTypeAnnotation(desc = "阶段")
    private int phase;

    @FieldTypeAnnotation(desc = "场次")
    private int session;

    @FieldTypeAnnotation(desc = "门客id")
    private int patronsId;

    @FieldTypeAnnotation(desc = "战力")
    private long earns;

    @FieldTypeAnnotation(desc = "是否伏兵")
    private boolean ambush;

    public LogUnionWarActivityDispatch(long userId, int activityId, String unionUId, int unionLv, int position, int phase, int session, int patronsId, long earns, boolean ambush) {
        this.userId = userId;
        this.activityId = activityId;
        this.unionUId = unionUId;
        this.unionLv = unionLv;
        this.position = position;
        this.phase = phase;
        this.session = session;
        this.patronsId = patronsId;
        this.earns = earns;
        this.ambush = ambush;
    }

    public long getUserId() {
        return userId;
    }

}
